]> dgit.raspbian.org Git - gnome-shell.git/commit
fileUtils: Fix fallback code for old gjs
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 17 Sep 2018 10:56:37 +0000 (12:56 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 17 Sep 2018 11:03:30 +0000 (13:03 +0200)
commit2ed6290a40af124cd4aac5494173e98c19b3d2d6
treeef30c12239f96ac4ba4523855d09adf3cbbf9cb0
parent94423151b2e1f5e2ee8ccc884c52f50673db5fb9
fileUtils: Fix fallback code for old gjs

gjs's D-Bus convenience explicitly expects a string representation
of an interface, but the new convenience method to load an XML
description from a resource introduced in commit f42d9df3e0 only
returns a string when using gjs from the GNOME 3.30 release. We
have so far managed to keep compatibility with the previous stable
gjs release, so fix up the fallback code to cast to string.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/578
js/misc/fileUtils.js